VrViewingWindowConfig

data class VrViewingWindowConfig(maxPitch: Double, maxYaw: Double, minPitch: Double, minYaw: Double) : Parcelable

Configures the VR viewing window.

Constructors

VrViewingWindowConfig
Link copied to clipboard
fun VrViewingWindowConfig(maxPitch: Double = 90.0, maxYaw: Double = 360.0, minPitch: Double = -90.0, minYaw: Double = 0.0)

Properties

maxPitch
Link copied to clipboard
@SerializedName(value = maxPitch)
var maxPitch: Double = 90.0
Specifies how high the user can look in degrees.
maxYaw
Link copied to clipboard
@SerializedName(value = maxYaw)
var maxYaw: Double = 360.0
Specifies how far right the user can look in degrees.
minPitch
Link copied to clipboard
@SerializedName(value = minPitch)
var minPitch: Double
Specifies how low the user can look in degrees.
minYaw
Link copied to clipboard
@SerializedName(value = minYaw)
var minYaw: Double = 0.0
Describes how far left the user can look in degrees.

Inherited functions

describeContents
Link copied to clipboard
abstract fun describeContents(): Int
writeToParcel
Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)